package com.shuai.profile;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * Jwt配置文件属性值
 *
 * @author shuai
 * @since 2022
 */
@Data
@Configuration
@ConfigurationProperties("jwt")
public class JwtProfile {

    /** 私人秘钥 */
    private String secret;
    /** 过期时间 */
    private Long expiration;
    /** Token头部 */
    private String header;

}
